-
Notifications
You must be signed in to change notification settings - Fork 151
selftests/bpf: propagate LLVM toolchain into runqslower sub-make #10331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: bpf-next_base
Are you sure you want to change the base?
Conversation
|
Upstream branch: d6ec090 |
7b6b51d to
2412df8
Compare
|
Upstream branch: d6ec090 |
5f4162f to
13eb8c0
Compare
2412df8 to
bfb0726
Compare
|
Upstream branch: d088da9 |
13eb8c0 to
2ff67f5
Compare
bfb0726 to
b0a5b86
Compare
|
Upstream branch: e0940c6 |
2ff67f5 to
0e7dfee
Compare
b0a5b86 to
44cbecf
Compare
|
Upstream branch: 792f258 |
0e7dfee to
2effcd6
Compare
44cbecf to
e8ba78a
Compare
|
Upstream branch: 878ee3c |
2effcd6 to
af86430
Compare
e8ba78a to
c1a1f03
Compare
|
Upstream branch: ae24fc8 |
af86430 to
ae14027
Compare
c1a1f03 to
ca453f8
Compare
|
Upstream branch: 4dd3a48 |
ae14027 to
4d29eaa
Compare
ca453f8 to
b3f74e5
Compare
|
Upstream branch: 8f7cf30 |
4d29eaa to
ea6c391
Compare
b3f74e5 to
b57110f
Compare
The runqslower build invokes a nested make, but the selected LLVM
toolchain (via LLVM=-<version>) is not propagated. This causes the
sub-make to call the system-default 'clang' and 'llvm-strip' even when
a specific LLVM version is intended.
# LLVM=-20 V=1 make -C tools/testing/selftests/bpf
...
make -C tools/bpf/runqslower ...
clang -g -O2 --target=bpfel -I... -c runqslower.bpf.c -o runqslower.bpf.o && \
llvm-strip -g runqslower.bpf.o
/bin/sh: 1: clang: not found
(expected: clang-20 and llvm-strip-20)
Propagate CLANG and LLVM_STRIP to the sub-make to ensure LLVM version
consistency across all builds.
Signed-off-by: Hoyeon Lee <[email protected]>
|
Upstream branch: c427320 |
ea6c391 to
c918009
Compare
Pull request for series with
subject: selftests/bpf: propagate LLVM toolchain into runqslower sub-make
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1025135